﻿using bgp8.Controls;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;

// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236

namespace bgp8.Controls
{
    public sealed partial class BottomAppBarPanel : UserControl
    {
        public BottomAppBarPanel()
        {
            this.InitializeComponent();
            Loaded += BottomAppBarPanel_Loaded;
        }

        void BottomAppBarPanel_Loaded(object sender, RoutedEventArgs e)
        {
            ConfigureContextualButtons();
        }

        private void ConfigureContextualButtons()
        {
        }

        public static DependencyProperty DiceGameBoardProperty = DependencyProperty.Register(
            "DiceGameBoard",
            typeof(GameBoard),
            typeof(BottomAppBarPanel),
            null
            );

        public GameBoard DiceGameBoard
        {
            get { return (GameBoard)GetValue(DiceGameBoardProperty); }
            set { SetValue(DiceGameBoardProperty, value); }
        }

        public static DependencyProperty TokenGameBoardProperty = DependencyProperty.Register(
            "TokenGameBoard",
            typeof(GameBoard),
            typeof(BottomAppBarPanel),
            null
            );

        public GameBoard TokenGameBoard
        {
            get { return (GameBoard)GetValue(TokenGameBoardProperty); }
            set { SetValue(TokenGameBoardProperty, value); }
        }
    }
}
